Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 2 - Shape Objects / Shape Objects Reference
Functions / Manipulating Shape Object Properties


GXGetShapeTransform

You can use the GXGetShapeTransform function to determine the transform object associated with a shape object.

gxTransform GXGetShapeTransform(gxShape source);
source
A reference to the shape whose transform object is to be determined.
function result
A reference to the transform object associated with the source shape object.
ERRORS, WARNINGS, AND NOTICES
Errors 
out_of_memory 
shape_is_nil 
SEE ALSO
The relationship of transform objects to QuickDraw GX shapes is discussed in "About QuickDraw GX Shapes" beginning on page 2-5. Transform objects themselves are further discussed in the chapter "Transform Objects" in this book.

To change the transform object associated with a QuickDraw GX shape, use the GXSetShapeTransform function, described in the next section.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996